<?php

/**
 * @Author: king
 * @Date:   2019-05-05 20:09:04
 * @Last Modified by:   king
 * @Last Modified time: 2019-05-18 20:34:00
 */
namespace App\Tools\Validates;

use App\Tools\Validate;
class CounselorProblem extends Validate
{
    protected $rule = [
        'title' => 'require|max:50',
        'tag_id'  => 'require|number'
    ];

    protected $message = [
        'title.require'   => '请输入想问的问题！',
        'title.max' => '字数超出限制！',
        'tag_id.require'   => '请选择问题类型',
        'tag_id.number'   => '未知的问题类型',
    ];
}

